package com.bw.pojo.vo;

import com.bw.pojo.Dept;
import com.bw.pojo.Role;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data //get set toString
@NoArgsConstructor//无参
@AllArgsConstructor//全参
public class UserVo {
    private Integer uid;
    //账号
    private String username;
    //密码
    private String password;
    //状态 0 正常  1禁用
    private Integer state;
    //逻辑删除 0未删除 1已删除
    private Integer deleted;
    //多
    private List<Role> roleList;
    //一
    private Dept dept;
}
